Ext.define("admin.view.basicInfo.cardUserAndCardView",{
    extend:'Ext.panel.Panel',
    layout:'border',
    alias: 'widget.basicInfo.cardUserAndCardView',
    items:[{
        region:'north',
        xtype:'basicInfo.cardUserFormView'
    },{
        border:false,
        region:'center',
        layout:'vbox',
        items:[{
            xtype:'toolbar',
            width:'100%',
            items: [{
                xtype:'label',
                text:'用户拥有卡片列表'
            },'->',{
                text: '分配卡片',
                iconCls: 'add_16',
                action:'tempCard'
            }, {
                text: '取消分配卡片',
                iconCls: 'delete_16',
                action: 'addUserCard'
            }]
        },{
            width:'100%',
            xtype:'basicInfo.tempCardGridView',
            flex:1
        }]
    }]
});
